//
//  ZTResdMode.m
//  CarTown
//
//  Created by xionghao on 15/9/7.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "ZTResdMode.h"
#import <MJExtension.h>
#import "PingpaiMode.h"
#import "CarDetailmodel.h"
#import "ZCModel.h"
@implementation ZTResdMode
+(instancetype)modeWithDict:(NSDictionary *)dict{
    [ZTModel setupObjectClassInArray:^NSDictionary *{
        return @{
                 @"brand" : [PingpaiMode class],
                 // @"statuses" : [Status class],
                 @"show_car" : [ZCModel class]
                 // @"ads" : [Ad class]
                 };
    }];
    [ZCModel setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                 @"ID" : @"id"
                 };
    }];

   return  [ZTResdMode objectWithKeyValues:dict];
}
@end
